/testing
group(ID=iron_shovel;ID=iron_shovel;ID=iron_shovel)@luck=-1
group(ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment))@luck=-1




/all type tools
group(ID=wooden_sword;ID=wooden_shovel;ID=wooden_pickaxe;ID=wooden_axe;ID=wooden_hoe)@luck=-2
group(ID=stone_sword;ID=stone_shovel;ID=stone_pickaxe;ID=stone_axe;ID=stone_hoe)@luck=-2
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=0
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_sword;ID=iron_hoe;ID=iron_axe)@luck=0
group(ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_sword;ID=diamond_hoe;ID=diamond_axe)@luck=1

/Tools/Items
type=item,ID=diamond_axe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$b$2Betty"))@luck=2@chance=0.3
type=item,ID=bread,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$l$6Loaf of Bread"))@luck=1@chance=0.6

/lucky potion
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$l$6Lucky Potion"))@luck=2

/unlucky potion
ID=potion,damage=16428,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$l$2Unlucky Potion"))@luck=0

/explosions
type=explosion,radius=12,fire=false@luck=-2@chance=0.4
type=explosion,radius=1,fire=false@luck=-1@chance=1.3

/things to print in chat
group(type=message,ID="The Cow Goes: Moooooo";type=entity,ID=Cow,NBTTag=(CustomName="$l$6Cow",CustomNameVisible=true))@luck=-1
type=message,ID="Peter Piper picked a peck of pickled peppers"@luck=-1

/trolls
group(type=message,ID="The Cow Goes: Moooooo";type=entity,ID=Cow,NBTTag=(CustomName="$l$6Cow",CustomNameVisible=true))@luck=-1


/chests

/mobs that spawn
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$b$4Peter",CustomNameVisible=true))@luck=-2@chance=0.5
group(type=entity,ID=Pig,NBTTag=(CustomName="$b$6Lucky Pig",CustomNameVisible=true);type=entity,ID=Cow,NBTTag=(CustomName="$b$6Lucky Cow",CustomNameVisible=true);type=entity,ID=Chicken,NBTTag=(CustomName="$b$6Lucky Chicken",CustomNameVisible=true);type=entity,ID=Sheep,NBTTag=(CustomName="$b$6Lucky Sheep",CustomNameVisible=true);type=entity,ID=Rabbit,NBTTag=(CustomName="$b$6Lucky Rabbit",CustomNameVisible=true);type=entity,ID=Squid,NBTTag=(CustomName="$b$6Unlucky Squid",CustomNameVisible=true))@luck=0@chance=0.5


